package org.hy.domain.global;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 邀请请求类
 * @author Tom.Feng
 *
 */
public class Invitation extends Recv{
	public static int FRIEND_INV = 1;//行友添加请求
	public static int GROUP_INV = 2;//加入小组请求
	public static int GROUP_INVITED = 3;//小组邀请加入
	public static int PROFILE_COMMENT_INVITE = 4;//档案邀请评价
	public static int ANSWER_INVITE =5 ;//邀请解答
	public static int GANSWER_INVITE = 6;//邀请同组成员解答
	
	private String message;
	
	private Boolean isHandle;
	
	private Boolean isOK;//是否同意
	
	private Integer type;//replace of enum
	
	private int uid;//接收者ID

	public String getMessage(){
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Boolean getIsHandle() {
		return isHandle;
	}

	public void setIsHandle(Boolean isHandle) {
		this.isHandle = isHandle;
	}
	
	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Boolean getIsOK() {
		return isOK;
	}

	public void setIsOK(Boolean isOK) {
		this.isOK = isOK;
	}

	public String toString() {
		
		return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
	}

	public int getUid() {
		return uid;
	}

	public void setUid(int uid) {
		this.uid = uid;
	}
}
